<!DOCTYPE html>
<html>
<head>
    @include("/include/_header.html", {'title':'任务查询'}){}
</head>
<body>
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-header">查询</div>
                <div class="layui-card-body">
                    <div class="layui-form">
                        <div class="test-table-reload-btn" style="margin-bottom: 1vh;">
                            槽车编号：
                            <div class="layui-inline">
                                <select class="layui-input" style="width:18vw" name="tankCarNo" id="tankCarNo">
                                    <option value="">请选择</option>
                                    <option value="1">1号槽车</option>
                                    <option value="2">2号槽车</option>
                                    <option value="3">3号槽车</option>
                                </select>
                            </div>

                            任务下发时间：
                            <div class="layui-inline">
                                <input class="layui-input"  name="distStartDateStr" id="distStartDateStr" autocomplete="off" placeholder="YYYY-MM-DD">
                            </div>
                            到：
                            <div class="layui-inline">
                                <input class="layui-input"  name="distEndDateStr" id="distEndDateStr"  autocomplete="off" placeholder="YYYY-MM-DD">
                            </div>


                            任务完成时间：
                            <div class="layui-inline">
                                <input class="layui-input"  name="comStartDateStr" id="comStartDateStr" autocomplete="off" placeholder="YYYY-MM-DD">
                            </div>
                            到：
                            <div class="layui-inline">
                                <input class="layui-input"  name="comEndDateStr" id="comEndDateStr"  autocomplete="off" placeholder="YYYY-MM-DD">
                            </div>



                            <div class="layui-row" style="margin-top: 1vh">
                                <div class="layui-col-md2 layui-col-md-offset10">
                                    <button id="btnSearch" class="layui-btn">搜索</button>
                                    <button id="btnReset" class="layui-btn">重置</button>

                                </div>
                            </div>

                        </div>
                    </div>
                    <table class="layui-hide" id="task-info" lay-filter="task-info"></table>

                </div>
                <!-- 表格操作按钮 -->
                <script type="text/html" id="online-status">
                    {{#  if(d.status == '已完成'){ }}
                    <button class="layui-btn-sm layui-bg-green">已完成</button>
                    {{# } else if(d.status == '未执行'){ }}
                    <button class="layui-btn-sm">未执行</button>
                    {{# } else if(d.status == '失败'){ }}
                    <button class="layui-btn-sm layui-bg-orange">失败</button>
                    {{# }  else if(d.status == '执行中'){ }}
                    <button class="layui-btn-sm layui-bg-red">执行中</button>
                    {{# }else { }}
                    <button class="layui-btn-sm layui-bg-blue">待上料</button>
                    {{#  } }}
                </script>

                <script type="text/html" id="sys-task-tool">
                    <t:a cssClass="layui-btn  layui-btn-xs" layEvent="detail" label="详情"></t:a>
<!--                    <t:a cssClass="layui-btn layui-btn-danger layui-btn-xs" layEvent="del" label="删除"></t:a>-->


                </script>
            </div>
        </div>
    </div>
</div>

<script src="${ctxPath}/assets/sys/addTask/taskQueryIndex.js"></script>

</body>
</html>

